package com.fifth.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author 第五组
 * @since 2022-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("e_role")
@ApiModel(value = "Role对象", description = "")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    private String id;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String remark;

    @ApiModelProperty("状态 0启用 1未启用")
    private String status;

    @TableLogic //逻辑删除列
    @ApiModelProperty("逻辑删除")
    private int isDeleted;


    private String rid;

    @TableField(exist = false)
    private Permission permission;
}
